package hangban.com.maochang.impl;


import hangban.com.maochang.dao.DeleteAirInfoDao;
import hangban.com.maochang.util.BaseDao;


public class DeleteAirInfoDaoImpl extends BaseDao implements DeleteAirInfoDao {
    @Override
    public void deleteAirInfo(int id) {
        String sql="delete from Airinfo where id=?";
        Boolean update = super.update(sql, new Object[]{id});
        if(update){
            System.out.println("删除成功");
        }else{
            System.out.println("删除失败");
        }
    }
}
